<style>
    .input input{
        width:60px;
        border:1px solid #000;
        background-color:#aaFFaa;
    }
    .gray{
        background-color:#fafafa;
    }
    .yellow{
        background-color:#ffffdd;
    }
    .green{
        background-color:#99CC00
    }
    .red{
        background-color:#ffdddd
    }
    .lightgreen{
        background-color:#ddffdd
    }
    .deepgreen{
        background-color:#339966
    }
</style>
<script>
    $(function(){
        $('.edit').editable('/f00/f0021/ajax?act=save',{"cssclass":"input","select":true,"indicator":'<img src="/static/loading/11.gif">',"onblur":"submit"});
    })
</script>
<table class="table" style="margin:0px">
    <thead>
    <tr>
        <th>功能编号</th>
        <th>功能名称</th>
        <th >操作</th>
    </tr>
    </thead>
    <tbody>
    <!--将datas修改为i.recs-->
    %for data in i.recs:
    <tr>
		<td><div class="edit" id="funno_${data.id}">${data.funno}</div></td>
		<td><div class="edit" id="funname_${data.id}">${data.funname}</div></td>
		<td><a href="javascript:;" onclick="doedit('${data.id}')">修改</a> | <a href="javascript:;" onclick="dodel('${data.id}')">删除</a></td>
    </tr>
    %endfor
    </tbody>
</table>
<script type="text/javascript" src="/static/skins_/js/settings.js"></script>
